package com.sansan.qiangji.service.inter.system;

import com.sansan.qiangji.entity.system.Role;

import java.util.List;

public interface RoleService {
    List<Role> roleList(Role role);

    Role findByRoleId(Integer roleId);

    List<Role> findByRoleName(String roleName);

    int addRole(Role role);

    int updateRole(Role role);

    int deleteById(Integer roleId);
}
